SmitearWebGL.Core.Capacity = function( gl )
{
	this.gl = gl;
	
	this.checkExtension = function()
	{
		if ( this.gl.getExtension )
		{
			if ( this.gl.getExtension( "OES_texture_float" ) ) this.supported.OES_texture_float = true;
		}
	}
	
	this.listExtension = function()
	{
		return this.gl.getSupportedExtensions();
	}
	
	this.glVersion = function()
	{
		return this.gl.getParameter( this.gl.VERSION );
	}
	
	this.glslVersion = function()
	{
		return this.gl.getParameter( this.gl.SHADING_LANGUAGE_VERSION );
	}
	
	this.supported = 
	{
		OES_texture_float : false
	}
}